package weiyao.xinxidasai.pojo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.sql.Date;

@AllArgsConstructor
@NoArgsConstructor
@Setter
@Getter
public class Version {
    private Long versionId;
    private Long userId;
    private String versionNo;
    private double r;
    public double x0;
    public Long iterations;
    public Date createTime;

    public Version(double v, double v1, Long i) {
         this.r = r;
         this.x0 = v1;
         this.iterations = i;

    }
}
